#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<time.h>
#include<ctype.h>

int main() {
    freopen("sort3.in","r",stdin);
    int a,b,c;

    while(3==scanf("%d%d%d",&a,&b,&c)) {
        if(a<=b && b<=c)
            printf("%d %d %d\n",a,b,c);
        else if(a<=c && c<=b)
            printf("%d %d %d\n",a,c,b);
        else if(b<=a && a<=c)
            printf("%d %d %d\n",b,a,c);
        else if(b<=c && c<=a)
            printf("%d %d %d\n",b,c,a);
        else if(c<=a && a<=b)
            printf("%d %d %d\n",c,a,b);
        else
            printf("%d %d %d\n",c,b,a);
    }

    return 0;
}
